package edu.pku.sei.modeler.uml.obsolete.fromdiagram;

import org.eclipse.draw2d.geometry.Point;
import org.eclipse.gef.commands.Command;

import edu.pku.sei.modeler.model.structure.MetaLink;

public class MessageConnectionMoveCommand extends Command {
	
	private MetaLink link;
	
	private Point delta;
	
	public MessageConnectionMoveCommand(MetaLink link, Point delta) {
		this.link = link;
		this.delta = delta;
	}
	
	@Override
	public boolean canExecute() {
		return this.link != null && this.delta != null;
	} 
	
	@Override
	public void execute() {
	} 

}
